package com.neusoft.chanceserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.chanceserver.dto.RespBean;
import com.neusoft.chanceserver.dto.SubchanceAdd;
import com.neusoft.chanceserver.entity.Subchance;

/**
 * <p>
 * 子机会表 服务类
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public interface ISubchanceService extends IService<Subchance> {

    RespBean searchSubchanceByChanceId(Integer chanceId);

    RespBean deleteSubchance(Integer subchanceId);

    RespBean updateSubchance(Subchance subchance);

    RespBean addSubchance(SubchanceAdd subchanceAdd);
}
